package User;

/**
 * Creat with IntelliJ IDEA
 * Description
 * User: mamba24
 * Date: 2022-04-13
 * Time: 16:35
 * To BE A Better Person-2020-3-2
 */

import Operation.*;

/**
 * 管理员
 */
public class AdminUser extends User{
    public AdminUser(String name) {
        super(name);
        this.name=name;
        this.iOoperation=new IOoperation[]{
          new SysOff(),
          new SerOp(),
          new AddOp(),
          new DelOp(),
          new ShowOp()
        };
    }

    @Override
    public void menu() {
        System.out.println("1.查找图书");
        System.out.println("2.新增图书");
        System.out.println("3.删除图书");
        System.out.println("4.显示图书");
        System.out.println("0.退出系统");
        System.out.println("请输入你的选择>:");
    }

}
